#include <errno.h>       /* obligatory includes */
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include"Reseau.h"

int Reseau::creer_socket () {

  int desc;
  /* Creation de la socket */
  if ((desc=socket(AF_INET,SOCK_STREAM,0)) == -1){
      perror("Creation de socket impossible");
      return -1;
    }
  return desc;
}

